#include "battleentity.h"

void CBattleEntity::BindBattleStats()
{
	
	int c = m_pBattleCharacterData->GetSpriteCount();
	
	for( int j = 0; j < c; j++ )
	{
		
		CMaterial * m = m_pBattleCharacterData->GetSprite( j );
		
		AddSprite( m, ( j == 0 ) );
		
	}
	
	m_Health = m_MaxHealth = m_pBattleCharacterData->GetHealth();
	
	Scale( m_pBattleCharacterData->GetScale(), m_pBattleCharacterData->GetScale() );

}

void CBattleEntity::Think()
{
	
	BaseThink();
	IncrementActionMeter();
	
}